<div class="bjui-pageContent">
    <form action="/admin/administration/workflow/flow-edit" data-toggle="ajaxform" data-options="{
        closeCurrent: true,
        okAfterCallback: refreshDataGrid
    }">
        <input type="hidden" name="flow_id" value="{{$flowInfo['id']}}">
        <div class="bjui-row col-3">
            <label class="row-label">名称</label>
            <div class="row-input required">
                <input type="text" class="input-sm" name="name" value="{{$flowInfo['name']}}" data-rule="required">
            </div>
            <br />
            <label class="row-label">显示</label>
            <div class="row-input required">
                @if ($flowInfo['display'])
                <input type="radio" name="display" data-toggle="icheck" value="true" data-rule="checked" data-label="是" checked="">
                &nbsp;&nbsp;&nbsp;&nbsp;
                <input type="radio" name="display" data-toggle="icheck" value="false" data-label="否">
                @else
                <input type="radio" name="display" data-toggle="icheck" value="true" data-rule="checked" data-label="是">
                &nbsp;&nbsp;&nbsp;&nbsp;
                <input type="radio" name="display" data-toggle="icheck" value="false" data-label="否" checked="">
                @endif
            </div>
            <br />
            <label class="row-label">描述</label>
            <div class="row-input">
                <textarea name="description" cols="30" rows="4">{{$flowInfo['name']}}</textarea>
            </div>
        </div>
    </form>
</div>
<div class="bjui-pageFooter">
    <ul>
        <li>
            <button type="button" class="btn-close" data-icon="close">取消</button>
        </li>
        <li>
            <button type="submit" class="btn-default" data-icon="save">保存</button>
        </li>
    </ul>
</div>
